package com.bjx.flow.mmx.domain.bo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotNull;

import com.bjx.common.core.domain.group.Update;

/**
 * @desc: 流程分支BO实体
 * @author: liushuai
 * @date: 2023/05/26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "FlowBranchBO",description = "流程分支BO实体")
public class MmxFlowBranchBO {
        /**
        * 分支ID
        */
        @NotNull(message = "分支ID不能为空",groups = Update.class)
        @Schema(title = "branchId",description = "分支ID")
        private  Long branchId; 
        /**
        * 实例ID
        */
        @NotNull(message = "实例ID不能为空")
        @Schema(title = "instanceId",description = "实例ID")
        private  Long instanceId; 
        /**
        * 节点ID
        */
        @NotNull(message = "节点ID不能为空")
        @Schema(title = "nodeId",description = "节点ID")
        private  Long nodeId; 
        /**
        * 分支状态(1、进行中 2、终止 3、等待)
        */
        @NotNull(message = "分支状态(1、进行中 2、终止 3、等待)不能为空")
        @Schema(title = "branchStatus",description = "分支状态(1、进行中 2、终止 3、等待)")
        private  Long branchStatus; 
}